def findItem(raiz,item):
    return [x for x in raiz.childNodes if x.nodeName == item]

for classe in xmi_classes:
    nome = classe.attributes.get('name').value
    container = findItem(classe,'UML:Classifier.feature')[0]
    xmi_atributos = findItem(container,'UML:Attribute')
